package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据中转日志对象 datax_xchange_log
 * 
 * @author ruoyi
 * @date 2022-10-04
 */
public class DataxXchangeLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 端组id */
    @Excel(name = "端组id")
    private Long endGroupId;

    /** 对接端请求数据 */
    @Excel(name = "对接端请求数据")
    private String clientEndReq;

    /** 对接端请求数据 */
    @Excel(name = "对接端请求数据")
    private String clientEndRes;

    /** 平台端请求数据 */
    @Excel(name = "平台端请求数据")
    private String platformEndReq;

    /** 平台端响应数据 */
    @Excel(name = "平台端响应数据")
    private String platformEndRes;

    /** 中转开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "中转开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xchangeStart;

    /** 中转完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "中转完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xchangeComplete;

    /** 业务异常日志 */
    @Excel(name = "业务异常日志")
    private String errorLog;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEndGroupId(Long endGroupId) 
    {
        this.endGroupId = endGroupId;
    }

    public Long getEndGroupId() 
    {
        return endGroupId;
    }
    public void setClientEndReq(String clientEndReq) 
    {
        this.clientEndReq = clientEndReq;
    }

    public String getClientEndReq() 
    {
        return clientEndReq;
    }
    public void setClientEndRes(String clientEndRes) 
    {
        this.clientEndRes = clientEndRes;
    }

    public String getClientEndRes() 
    {
        return clientEndRes;
    }
    public void setPlatformEndReq(String platformEndReq) 
    {
        this.platformEndReq = platformEndReq;
    }

    public String getPlatformEndReq() 
    {
        return platformEndReq;
    }
    public void setPlatformEndRes(String platformEndRes) 
    {
        this.platformEndRes = platformEndRes;
    }

    public String getPlatformEndRes() 
    {
        return platformEndRes;
    }
    public void setXchangeStart(Date xchangeStart) 
    {
        this.xchangeStart = xchangeStart;
    }

    public Date getXchangeStart() 
    {
        return xchangeStart;
    }
    public void setXchangeComplete(Date xchangeComplete) 
    {
        this.xchangeComplete = xchangeComplete;
    }

    public Date getXchangeComplete() 
    {
        return xchangeComplete;
    }
    public void setErrorLog(String errorLog) 
    {
        this.errorLog = errorLog;
    }

    public String getErrorLog() 
    {
        return errorLog;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("endGroupId", getEndGroupId())
            .append("clientEndReq", getClientEndReq())
            .append("clientEndRes", getClientEndRes())
            .append("platformEndReq", getPlatformEndReq())
            .append("platformEndRes", getPlatformEndRes())
            .append("xchangeStart", getXchangeStart())
            .append("xchangeComplete", getXchangeComplete())
            .append("errorLog", getErrorLog())
            .toString();
    }
}
